/*
Source Code License Agreement
Copyright (c) 2007, Matthew D. Wright. All rights reserved.

Matthew D. Wright grants to you a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable copyright license, to reproduce,
prepare derivative works of, publicly display, publicly perform, and
distribute this source code and such derivative works in source or
object code form without any attribution requirements.

The name "Matthew D. Wright" must not be used to endorse or promote 
products derived from the source code without prior written permission.

You agree to indemnify, hold harmless and defend Matthew D. Wright from 
and against any loss, damage, claims or lawsuits, including attorney's fees 
that arise or result from your use or distribution of the source code.

THIS SOURCE CODE IS PROVIDED "AS IS" AND "WITH ALL FAULTS", WITHOUT
ANY TECHNICAL SUPPORT OR ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ALSO, THERE IS NO WARRANTY OF
NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT. IN NO EVENT SHALL MACROMEDIA
OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOURCE CODE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package net.nobien.webapis.google.blogger
{
	
	import net.nobien.webapis.google.blogger.Author;
	
	/**
	 * The Comment class abstracts a Blogger comment.
	 */
	public class Comment
	{
		
		private var _blogID:String;
		private var _blogPostID:String;
		private var _url:String;
		private var _editURL:String;
		private var _content:String;
		private var _author:Author;
		private var _published:Date;
		
		public function Comment()
		{
			
		}
		
		/**
		 * The blog ID of the comment.
		 */
		public function get blogID():String
		{
			return _blogID;
		}
		
		public function set blogID( v:String ):void
		{
			_blogID = v;
		}
		
		/**
		 * The blog post ID of the comment.
		 */
		public function get blogPostID():String
		{
			return _blogPostID;
		}
		
		public function set blogPostID( v:String ):void
		{
			_blogPostID = v;
		}
		
		/**
		 * The comment's URL.
		 */
		public function get url():String
		{
			return _url;
		}
		
		public function set url( v:String ):void
		{
			_url = v;
		}
		
		/**
		 * The comment's edit URL.
		 */
		public function get editURL():String
		{
			return _editURL;
		}
		
		public function set editURL( v:String ):void
		{
			_editURL = v;
		}
		
		/**
		 * The comment's content.
		 */
		public function get content():String
		{
			return _content;
		}
		
		public function set content( v:String ):void
		{
			_content = v;
		}
		
		/**
		 * The comment's author.
		 */
		public function get author():Author
		{
			return _author;
		}
		
		public function set author( v:Author ):void
		{
			_author = v;
		}
		
		/**
		 * The date which the comment was published.
		 */
		public function get published():Date
		{
			return _published;
		}
		
		public function set published( v:Date ):void
		{
			_published = v;
		}
		
	}
}